﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.Master" AutoEventWireup="true" CodeBehind="ProductEdit.aspx.cs" Inherits="TransFormer.Web.admin.ProductEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table border="1px">
        <tr>
            <td>
                产品ID:
            </td>
            <td>
                <asp:TextBox ID="txtId" runat="server" Width="220" ReadOnly="True"></asp:TextBox>
            </td>
             <td rowspan="6">
                <asp:Image ID="imgProduct" runat="server" Width="150"/></td>
        </tr>
        <tr>
            <td>
                产品名称:
            </td>
            <td>
                <asp:TextBox ID="txtProductName" runat="server" Width="220"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                类别:
            </td>
            <td>
                <asp:DropDownList ID="DdlProductType" Width="220" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                产品图片(jpg):
            </td>
            <td>
                <asp:FileUpload ID="fileProductImg" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                产品规格表(jpg):
            </td>
            <td>
                <asp:FileUpload ID="fileProductSize" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                网页语言:
            </td>
            <td>
               <select runat="server" id="language">
                    <option selected="selected" value="english">英文</option>
                    <option value="chinese">中文</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>
                产品描述:
            </td>
            <td>
                <asp:TextBox ID="txtProductDesc" runat="server" TextMode="MultiLine" Width="220"
                    Height="200"></asp:TextBox>
            </td>
            <td rowspan="2">
                <asp:Image ID="imgSize" runat="server" Width="150"/></td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button ID="btnOK" runat="server" OnClick="btnOK_Click" Text="确认" />
                <asp:Button ID="btnCancel" runat="server" OnClick="btnCancel_Click" Text="取消" />
            </td>
        </tr>
    </table>
    <div>
        <label id="lbResult" style="color: red;" runat="server">
        </label>
    </div>
</asp:Content>
